local talu = fk.CreateSkill{
  name = "wk_heg__talu",
}

Fk:loadTranslationTable{
  ["wk_heg__talu"] = "踏虏",
  [":wk_heg__talu"] = "当你使用黑色【杀】或黑色普通锦囊牌指定唯一目标时，你可以失去1点体力，令位于你与其最短路径上的所有角色成为此牌的额外目标。",
}

--   anim_type = "offensive",
--   events = {fk.TargetSpecifying},
--   can_trigger = function (self, event, target, player, data)
--     return player == target and player:hasSkill(self) and U.isOnlyTarget(player.room:getPlayerById(data.to), data, event)
--       and data.card.color == Card.Black and (data.card.trueName == "slash" or data.card:isCommonTrick())
--   end,
--   on_use = function (self, event, target, player, data)
--     local room = player.room
--     room:loseHp(player, 1, self.name)
--     if player.dead then return end
--     local left, right, direction = 0, 0, "both"
--     local to = room:getPlayerById(data.to)
--     if to.dead or player:isRemoved() or to:isRemoved() then return false end
--     local temp = player
--     while temp ~= to do
--       if not temp.dead and not temp:isRemoved() then
--         right = right + 1
--       end
--       temp = temp.next
--     end
--     local temp2 = player
--     while temp2 ~= to do
--       if not temp2.dead and not temp2:isRemoved() then
--         left = left + 1
--       end
--       temp2 = temp2:getLastAlive()
--     end
--     if math.min(left, right) > 1 then
--       if left > right then
--         direction = "right"
--       elseif left < right then
--         direction = "left"
--       end
--     else
--       return
--     end
--     if direction ~= "right" then
--       local from, endto = to, player
--       local targets = player.room:getUseExtraTargets(data, true, true)
--       local temp = from.next
--       while temp ~= endto do
--         if not temp.dead and table.contains(targets, temp.id) then
--           AimGroup:addTargets(room, data, temp.id)
--           player.room:doIndicate(player.id, {temp.id})
--         end
--         temp = temp.next
--       end
--     end
--     if direction ~= "left" then
--       local from, endto = player, to
--       local targets = player.room:getUseExtraTargets(data, true, true)
--       local temp = from.next
--       while temp ~= endto do
--         if not temp.dead and table.contains(targets, temp.id) then
--           AimGroup:addTargets(room, data, temp.id)
--           player.room:doIndicate(player.id, {temp.id})
--         end
--         temp = temp.next
--       end
--     end
--   end,
-- }

return talu